<template>
	<view>
		<!-- <view class="content"> -->
			<scroll-view scroll-y="true">
				<view>
					<scroll-view scroll-y="true">
						<uni-card v-for="(item,index) in zhsqHistoryList" 
						:title="item.type === '02' ? '评估' : '复核'" 
						:extra="item.lrsj">
							<div><span class="card-text-title">审核人员：</span>{{item.lrrxm}}</div>
							<div><span class="card-text-title">审核结果：</span>{{item.result}}</div>
							<div><span class="card-text-title">审核意见：</span>{{item.bz}}</div>
						</uni-card>
					</scroll-view>
				</view>
			</scroll-view>
			<!-- </view> -->
			<view>
				<button @click="closeThis()">关 闭</button>
			</view>
	</view>
</template>


<script lang="ts">
	import { route,routeMixin } from "@/route/Route"
	import { announcementService } from '@/service/AnnouncementService'
	import { zhsqHistoryService } from '@/service/ZhsqHistoryService'
	export default {
		mixins:[routeMixin],
		data() {
			return {
				
				zhsqHistoryList: [],
				zhsqId: "",
				triggered: false,
				_freshing: false,
				list:[],
				pageReq:{
					page: 0,
					size: 10,
				},
				page:{
					content: [],
					empty: false,
					first: true,
					last: false,
					number: 0,
					numberOfElements: 2,
					pageable: {
						offset: 0,
						pageNumber: 0,
						pageSize: 10,
						paged: true,
						sort: {empty: true, sorted: false, unsorted: true},
						unpaged: false
					},
					size: 10,
					sort: {empty: true, sorted: false, unsorted: true},
					totalElements: 2,
					totalPages: 1
				},
				status:"",
			}
		},
		onLoad() {
			uni.setNavigationBarTitle({
				title: "查看意见"
			})
		},
		onShow() {
		//	this.loadPage()
		},
		methods: {
			// loadListbisGsZt
			routeParameterEvent(data) {
				console.log('data.zhsqId {} ', data.zhsqId)
				this.zhsqId = data.zhsqId
				
				zhsqHistoryService.queryList({zhsqId:this.zhsqId},(res)=>{
					this.zhsqHistoryList = res;
					console.log(this.zhsqHistoryList)
				});
			},
			closeThis() {
				route.goBack();
			}
		}
	}
</script>

<style lang="scss" scoped>

	.uni-padding-wrap {
		// width: 750rpx;
		padding: 40rpx 40rpx;
	}

	.content {
		/* #ifndef APP-NVUE */
		display: flex;
		/* #endif */
		flex-direction: column;
		justify-content: center;
		align-items: center;
		text-align: center;
		margin-top: 30rpx;
	}

	.content-text {
		font-size: 28rpx;
		color: #666;
	}
	.slot-box {
		/* #ifndef APP-NVUE */
		display: flex;
		/* #endif */
		flex-direction: column;
		align-items: flex-start;
	}

	.slot-text {
		margin-right: 20rpx;
		font-size: 28rpx;
		color: $uni-text-color-grey;
	}
	.slot-text-1 {    
		font-size: 40rpx;
		color: $uni-text-color;
	}
	.slot-text-2 {
	}
	.slot-text-3 {
	}
	::v-deep.uni-list-item__container{
		justify-content: space-between;
	}
	::v-deep.uni-list-item__header{
		display: none;
	}
	.ItemFooter{
		display: flex;
		flex-direction: column;
		justify-content: center;
		font-size: 14px;
		color: $uni-text-color-grey;;
	}
	.card-text-title {
		font-weight: bold
	}
</style>
